// Namespace LyncServerExtension.Model: Model related functions.

// Namespace creation, and protection against global environment modification.
LyncServerExtension.Model = (function (ns) {

    // "Class" to represents a user.
    ns.User = function (accountName, sip, firstName, lastName, photo) {
        this.getAccountName = function () { return accountName; }
        this.getSip = function () { return sip; }
        this.getFirstName = function () { return firstName; }
        this.getLastName = function () { return lastName; }
        this.getPhoto = function () { return photo; }
    }

    return ns;
})({});